package com.hh.mapper;

import com.hh.model.UserModel;

import java.util.List;

public interface UserMapper extends BaseMapper<UserModel>{
    UserModel findByUsernameAndPassword(UserModel userModel);

    UserModel findIdAndPassword(UserModel userModel);

    int updatePassword(UserModel userModel);

    @Override
    int add(UserModel userModel);

    @Override
    int delete(UserModel userModel);

    @Override
    int update(UserModel userModel);

    @Override
    List<UserModel> findAll(UserModel userModel);

    @Override
    UserModel findById(UserModel userModel);

    @Override
    int count(UserModel userModel);
}
